package cn.tedu.recruitmentwebsite.admin.mapper;

import cn.tedu.recruitmentwebsite.admin.pojo.dto.UserQuery;
import cn.tedu.recruitmentwebsite.admin.pojo.entity.User;
import cn.tedu.recruitmentwebsite.admin.pojo.vo.UserVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminMapper {
    List<UserVO> query(UserQuery userQuery);

    void insert(User user);

    void update(User user);

    void delete(Long id);
}
